From: Giovanni Campagna Date: Fri, 23 Aug 2013 12:14:22 +0000 (+0200) Subject: ScreenShield: hide the lightboxes when resuming from suspend X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3637 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c7e3289396c79a37c5491cd081b747a0348181b1;p=gnome-shell.git ScreenShield: hide the lightboxes when resuming from suspend We show a lightbox when we suspend, to animate the fading to black caused by turning off the monitors, but we need to hide it when coming back, otherwise the user is just staring at a black screen it until he moves the mouse or presses a key. https://bugzilla.gnome.org/show_bug.cgi?id=706654 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index eaeafe01f..f9ab4e9cb 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -732,6 +732,8 @@ const ScreenShield = new Lang.Class({ this.lock(true); } else { this._inhibitSuspend(); + + this._onUserBecameActive(); } },